﻿using ConfExpert.Datasets;
using ConfExpert.Forms.Base;
using System; using DevTeam;
using System.Windows.Forms;

namespace ConfExpert.Forms.Depo
{
    public partial class SonAramaEksikler : XForm
    {
        MyData.xSonAramaEksikDataTable dt = new MyData.xSonAramaEksikDataTable();
        public SonAramaEksikler(MyData.xSonAramaEksikDataTable _dt)
            : this()
        {
            dt = _dt;
        }

        public SonAramaEksikler()
        {
            InitializeComponent();
        }

        BindingSource bs;
        private void SonAramaEksikler_Load(object sender, EventArgs e)
        {
            txtInfo.Caption = "Gösterilemeyen artikeller";

            bs = new BindingSource(ds, "xSonAramaEksik");
            InitGridView(gridView1, bs);
            gridControl1.DataSource = dt;
            gridView1.BestFitColumns();
        }
    }
}